package haizhi.fruitmall.service;

import haizhi.fruitmall.pojo.form.PictureForm;
import haizhi.fruitmall.pojo.po.Picture;
import haizhi.fruitmall.pojo.po.PictureType;

import java.util.List;

/**
 * Created by richa on 2017/8/28
 */
public interface PictureService {

    void insert(PictureForm form);

    void update(PictureForm form);

    void delete(Long id);

    Picture getone(Long id);

    List<Picture> getall(PictureForm form);

    List<PictureType> getType();

}
